***Antipattern***
Count: 7
-PUT  /devices Creates a new device associated to the user.
-POST  /devices/{id}/pass Check if the password matches.
-POST  /series/batch_query Returns the batch of time-series data
-PUT  /things/{id}/properties Creates a new property associated to a thing
-POST  /series/batch_query_raw/lastvalue Returns the batch of time-series data raw
-POST  /series/batch_query_raw Returns the batch of time-series data raw
-PUT  /devices/{id}/certs Creates a new cert associated to a device. The csr is signed and saved in database. The CommonName will be replaced with the device id.

***Pattern***
Count: 13
-GET  /devices/{id}/properties/{pid} GET device properties values in a range of time
-GET  /devices Returns the list of devices associated to the user.
-PUT  /devices/{id}/properties Update device properties last values
-GET  /devices/{id}/events GET device events.
-GET  /devices/{id}/certs/{cid} Returns the cert requested by the user
-GET  /devices/{id}/certs Returns the list of certs associated to the device
-POST  /devices/{id}/certs/{cid} Updates a cert associated to a device. The csr is signed and saved in database. The CommonName will be replaced with the device id.
-GET  /devices/{id}/properties GET device properties.
-PUT  /things/{id}/properties/{pid}/publish Publish a property value to MQTT
-DELETE  /devices/{id} Removes a device associated to the user.
-GET  /devices/{id} Returns the device requested by the user.
-DELETE  /devices/{id} Removes a device associated to the user
-DELETE  /devices/{id}/certs/{cid} Removes a cert associated to a device
